package com.juben.svr.domain.Enum;

public enum WorkWstate {
    审核中("0"),
    已通过("1"),
    未通过("3");
    private final String value;
    WorkWstate(String value){
        this.value = value;
    }
    public String getValue(){
        return value;
    }
    public static WorkWstate fromValue(String value){
        for(WorkWstate state : WorkWstate.values()){
            if(state.getValue().equals(value)){
                return state;

            }

        }
        return null;
    }
}
